.simple-keyboard {
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue",
    Helvetica, Arial, "Lucida Grande", sans-serif;
  width: 100%;
  user-select: none;
  box-sizing: border-box;
  overflow: hidden;
  touch-action: manipulation;
  display: flex;
  flex-direction: row;
}

.simple-keyboard .hg-row {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.simple-keyboard .hg-row:not(:last-child) {
  margin-bottom: 5px;
}

.simple-keyboard .hg-row .hg-button:not(:last-child) {
  margin-right: 5px;
}

.simple-keyboard .hg-row .hg-button-container {
  margin-right: 5px;
}

.simple-keyboard .hg-row > div:last-child {
  margin-right: 0;
}

.simple-keyboard .hg-row .hg-button-container {
  display: flex;
}

.simple-keyboard .hg-button {
  display: inline-block;
  flex-grow: 1;
  cursor: pointer;
  writing-mode: horizontal-tb;
}

.simple-keyboard .hg-button span {
  pointer-events: none;
  writing-mode: horizontal-tb;
}

/**
 * hg-theme-default theme
 */
.simple-keyboard.hg-theme-default {
  background-color: rgba(0, 0, 0, 0.1);
  padding: 5px;
  // border-radius: 5px;
}

.simple-keyboard.hg-theme-default .hg-button {
  width: 0;
  box-shadow: 0px 0px 3px -1px rgba(0, 0, 0, 0.3);
  height: 40px;
  border-radius: 5px;
  box-sizing: border-box;
  padding: 5px;
  background: white;
  border-bottom: 1px solid #b5b5b5;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.simple-keyboard.hg-theme-default .hg-button.hg-activeButton {
  background: #efefef;
}

/* When using option "useButtonTag" */
.simple-keyboard button.hg-button {
  border-width: 0;
  outline: 0;
  font-size: inherit;
}

.simple-keyboard.hg-theme-default.hg-layout-numeric .hg-button {
  width: 33.3%;
  height: 60px;
  align-items: center;
  display: flex;
  justify-content: center;
}

.simple-keyboard.hg-theme-default .hg-button.hg-button-numpadadd {
  height: 85px;
}

.simple-keyboard.hg-theme-default .hg-button.hg-button-numpadenter {
  height: 85px;
}

.simple-keyboard.hg-theme-default .hg-button.hg-button-numpad0 {
  width: 105px;
}

.simple-keyboard.hg-theme-default .hg-button.hg-button-com {
  max-width: 85px;
}

.simple-keyboard.hg-theme-default .hg-button.hg-standardBtn.hg-button-at {
  max-width: 45px;
}

.simple-keyboard.hg-theme-default .hg-button.hg-selectedButton {
  background: rgba(5, 25, 70, 0.53);
  color: white;
}

.simple-keyboard.hg-theme-default .hg-button.hg-standardBtn[data-skbtn=".com"] {
  max-width: 82px;
}

.simple-keyboard.hg-theme-default .hg-button.hg-standardBtn[data-skbtn="@"] {
  max-width: 60px;
}

.simple-keyboard-wrapper {
  writing-mode: horizontal-tb;
  // height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  align-content: stretch;
}

.simple-keyboard-preview {
  transition: background 0.3s ease-in-out;
  background: rgb(46, 46, 46);
  padding: 10px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  flex: 1;
}

.simple-keyboard-preview {
  background: rgb(243, 243, 243);
  border-bottom: 0;
  padding: 0;
  // background-image: url(/images/mountains.jpg);
  background-size: cover;
}

.simple-keyboard-candidate {
  display: flex;
  flex-direction: row;
  position: absolute;
  left: 0;
  bottom: 182px;
  width: 100%;
  padding-top: .2rem;
  overflow: hidden;
  box-shadow: 2px -2px 3px #aaaaaa;
  // opacity: .8;
}
